/*
 * @Project Name: spring-boot
 * @File Name: UserService
 * @Package Name: com.hhly.spring.boot.cache
 * @Date: 2017/12/13 17:52
 * @Creator: linshixing-1199
 * @line------------------------------
 * @修改人:
 * @修改时间:
 * @修改内容:
 */

package com.sm.shoplook.service.service;

import com.github.pagehelper.PageInfo;
import com.sm.shoplook.domain.service.SlService;
import com.sm.shoplook.vo.base.ApiException;
import com.sm.shoplook.vo.base.ApiResult;
import com.sm.shoplook.vo.service.req.SlServicePageSearchReqVo;

/**
 * @author chenpy-1072
 * @desc 服务
 * @date 2018/08/13
 * @see
 */
public interface SlSerService {

	/**
	 * @Author chenpy
	 * @Description 服务列表查询
	 * @Date
	 * @param slServicePageSearchReqVo
	 * @return
	 */
	ApiResult<PageInfo<SlService>> selectSlServicePage(SlServicePageSearchReqVo slServicePageSearchReqVo);

	/**
	 * @Author chenpy
	 * @Date 2018/8/16 16:22
	 * @Description 删除
	 * @param idList
	 * @return
	 * @throws ApiException
	 */
	ApiResult deleteSlService(String[] idList) throws ApiException;

	/**
	 * @Author chenpy
	 * @Date 2018/8/16 16:23
	 * @Description 保存
	 * @param slService
	 * @return
	 * @throws ApiException
	 */
	ApiResult saveSlService(SlService slService) throws ApiException;

	/**
	 * @Author chenpy
	 * @Date 2018/8/16 16:23
	 * @Description 按ID查找
	 * @param id
	 * @return
	 */
	ApiResult<SlService> selectSlServiceById(Integer id);
}
